import Layout from "@/layout";

const supplierRouter = {
  path: "/menu/index",
  component: Layout,
  redirect: "noRedirect",
  name: "menu",
  hidden: false,
  meta: {
    title: "菜谱管理",
    abbre: "菜谱",
    icon: "left_menu_menu",
    navigation: "/menu",
    id: "407"
  },
  children: [
    {
      path: "/menu/index",
      component: () => import("@/views/menu/list/index"),
      name: "menu_list",
      hidden: false,
      meta: {
        title: "菜谱列表",
        noCache: false,
        navigation: "/menu/index",
        icon: "menu_big_data"
      }
    },
    {
      path: "/menu/join",
      component: () => import("@/views/menu/join/index"),
      name: "menu_join",
      hidden: false,
      meta: {
        title: "菜谱审核",
        noCache: false,
        navigation: "/menu/join",
        icon: "menu_big_data"
      }
    },
  ]
};

export default supplierRouter;